package com.example.carrierapp.bean.dispatch;

import java.io.Serializable;
import java.util.List;

public class SearchDriverBean implements Serializable {
    private int searcNum;
    private int totalCount;
    private List<SearchDriverInfo> items;

    public int getSearcNum() {
        return searcNum;
    }

    public void setSearcNum(int searcNum) {
        this.searcNum = searcNum;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<SearchDriverInfo> getItems() {
        return items;
    }

    public void setItems(List<SearchDriverInfo> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "SearchDriverBean{" +
                "searcNum=" + searcNum +
                ", totalCount=" + totalCount +
                ", items=" + items +
                '}';
    }

    public class SearchDriverInfo  implements Serializable{
        /**
         * id : 0
         * driverMainId : 6063
         * driverName : 赵冠杰
         * driverPhone : 18227665710
         * state : 0
         * driverLicenseNum : 545451515151232415
         * transportState : 1
         * createDriverDate : 0001-01-01T00:00:00
         * monthOrder : 0
         * monthTransportVolume : 0.0
         * monthRanking : 0.0
         * transportVolume : 0.0
         */

        public int id;
        public int driverId;
        public String driverName;
        public String driverPhone;
        public int state;
        public String driverLicenseNum;
        public int transportState;
        public String createDriverDate;
        public int monthOrder;
        public double monthTransportVolume;
        public double monthRanking;
        public double transportVolume;
        public String userAgent;
        public double  dispatchWeight;
        public String reamrk;

        @Override
        public String toString() {
            return "SearchDriverInfo{" +
                    "id=" + id +
                    ", driverMainId=" + driverId +
                    ", driverName='" + driverName + '\'' +
                    ", driverPhone='" + driverPhone + '\'' +
                    ", state=" + state +
                    ", driverLicenseNum='" + driverLicenseNum + '\'' +
                    ", transportState=" + transportState +
                    ", createDriverDate='" + createDriverDate + '\'' +
                    ", monthOrder=" + monthOrder +
                    ", monthTransportVolume=" + monthTransportVolume +
                    ", monthRanking=" + monthRanking +
                    ", transportVolume=" + transportVolume +
                    ", userAgent='" + userAgent + '\'' +
                    ", dispatchWeight=" + dispatchWeight +
                    ", reamrk='" + reamrk + '\'' +
                    '}';
        }
    }
}
